<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <title>@title@</title>
        <link rel="shortcut icon" href="theme/app/img/favicon.ico"/>
        
        <!-- IE 8 Compatibility -->
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
        
        <!-- Ext resources -->
        <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-2.2.1/resources/css/ext-all.css" />
        <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-2.2.1/resources/css/xtheme-gray.css" />
        <script type="text/javascript" src="http://extjs.cachefly.net/ext-2.2.1/adapter/ext/ext-base.js"></script>
        <script type="text/javascript" src="http://extjs.cachefly.net/ext-2.2.1/@ext-all.js@"></script>

        <!-- OpenLayers resources -->
        <link rel="stylesheet" type="text/css" href="@ol-style.css@" />
        <script type="text/javascript" src="@OpenLayers.js@"></script>

        <!-- GeoExt resources -->
        <link rel="stylesheet" type="text/css" href="@geoext-all.css@" />
        <link rel="stylesheet" type="text/css" href="@gxtheme-gray.css@" />
        <script type="text/javascript" src="@GeoExt.js@"></script> 

        <!-- GeoExplorer resources -->
        <link rel="stylesheet" type="text/css" href="@geoexplorer.css@" />
        <!--[if IE]><link rel="stylesheet" type="text/css" href="@ie.css@"/><![endif]-->        
        <script type="text/javascript" src="@GeoExplorer.js@"></script>
        <script type="text/javascript" src="@ux.js@"></script>

        <script>
            Ext.BLANK_IMAGE_URL = "@blank.gif@";
            var app = new GeoExplorer.Full({
                alignToGrid: true,
                about: {
                    title: "GeoExplorer Demo Map",
                    "abstract": "This is a demonstration of GeoExplorer, " +
                        "an application for assmebling and publishing web " +
                        "based maps.  After adding layer to the map, find " +
                        "the 'Publish Map' button above to embed this map " +
                        "in any web page.",
                    contact: "For more information, contact <a href='http://opengeo.org'>OpenGeo</a>."
                },
                wms: {
                    "demo": "/geoserver/ows/"
                },
                map: {
                    layers: [{
                        name: "World",
                        title: "World",
                        wms: "demo",
                        group: "background"
                    }],
                    center: [-6.328, 5.249],
                    zoom: 2
                }
            });
        </script>

    </head>
    <body>
    </body>
</html>
